import { Component } from "react";
import "./style.scss";
interface Props {
  title?: string;
}
interface State {}
class Index extends Component<Props, State> {
  render() {
    const { title = "封神电影" } = this.props;
    return (
      <div className="navBar">
        <div className="left">
          全国
          <i className="iconfont icon-xiangxia"></i>
        </div>
        <div className="title">{title}</div>
        <div className="right">
          全国
          <i className="iconfont icon-xiangxia"></i>
        </div>
      </div>
    );
  }
}
export default Index;
